<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglib.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SmartCRM - 客户管理系统</title>
</head>
<body>
	<ul id="normalTree" class="easyui-tree">
		<s:iterator var="entry" value="permissions">
			<li data-options="attributes:{url:'${path}${entry.url}'}"><span>${entry.name}</span></li>
		</s:iterator>
	</ul>


	<script type="text/javascript">
		$('#normalTree').tree({
			onClick : function(node) {
				//$.messager.alert("Info : "+node.text,node.attributes.url);
				addTab(node);
			}
		});
	</script>
</body>
</html>